import request from '@/utils/request'

// 登录：
// 登录-用户名密码
export const userLoginService = ({ account, password }) =>
  request.post('/login', { account, password })
// 会员中心-猜你喜欢接口
export const getLikeListService = ({ limit = 4 }) =>
  request.get('/goods/relevant', {
    params: {
      limit,
    },
  })
// 用户列表接口
export const getUserOrderService = (params) =>
  request.get('/member/order', {
    params,
  })
